package com.tanhua.common.enums;

public enum AgeRangeEnum {

    UNDERAGE(0, 17, "18以下"),
    JUVENILE(18, 23, "18-23岁"),
    TEENAGER(24, 30, "24-30岁"),
    YOUTH(31, 40, "31-40岁"),
    MIDDLEAGE(41, 50, "41-50岁"),
    AGEDNESS(50, 2000, "50以上");
    private int min;
    private int max;
    private String desc;

    AgeRangeEnum(int min, int max, String desc) {
        this.min = min;
        this.max = max;
        this.desc = desc;
    }

    public int getMin() {
        return min;
    }

    public int getMax() {
        return max;
    }

    public String getDesc() {
        return desc;
    }
}